Module-level declarations
Types
Link copied to clipboard
struct cancel_lend_request
Link copied to clipboard
struct extend_request
Link copied to clipboard
struct free_trial_request
Link copied to clipboard
struct friend_lend_request
Link copied to clipboard
struct lend_request
Link copied to clipboard
struct parcel_dto
Link copied to clipboard
entity rent_contract
Link copied to clipboard
struct rent_contract_dto
Link copied to clipboard
struct rent_request
Link copied to clipboard
struct terminate_contract_request
Link copied to clipboard
struct user_rent_data_dto
Functions
Link copied to clipboard
function _check_rented_tiles(griddable: instance, account_id: byte_array, tiles: set<integer>): boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@extend(check_ownership_hook) function check_rented_tiles(griddable: instance, account_id: byte_array, cells: set<location>): map<text, boolean>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@extend(get_locations_hook) function get_tiles(plot: instance, account_id: byte_array, cells: set<location>, get_owned_cells: boolean): list<location>
Link copied to clipboard
Link copied to clipboard
function get_tiles_renter(account_id: byte_array, get_owned_tiles: boolean, tiles: set<integer>, plot_id: integer): set<integer>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Queries
Link copied to clipboard
@mount("renting.get_all_renting_data_for_plot")
query get_all_renting_data_for_plot(plot_id: integer): list<parcel_dto>
Link copied to clipboard
@mount("renting.get_renting_data_for_address")
query get_renting_data_for_address(requested_evm_address: byte_array): user_rent_data_dto
Link copied to clipboard
@mount("renting.get_renting_data_for_player")
query get_renting_data_for_player(account_id: byte_array): list<parcel_dto>
Operations
Link copied to clipboard
Link copied to clipboard
@mount("renting.friend_lend")
operation friend_lend(account_id: byte_array, auth_descriptor_id: byte_array, plot_id: integer, requests: list<friend_lend_request>)
Link copied to clipboard
@mount("renting.terminate_all_friend_contracts")
operation terminate_all_friend_contracts(account_id: byte_array, auth_descriptor_id: byte_array, plot_id: integer)
Link copied to clipboard
@mount("renting.terminate_friend_contract")
operation terminate_friend_contract(account_id: byte_array, auth_descriptor_id: byte_array, parcel_id: text)